package com.hm.ipay.dao;

import com.hm.ipay.entity.AccountTransactionRecord;
import com.hm.ipay.entity.UserAccount;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface AccountTransactionRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AccountTransactionRecord record);

    int insertSelective(AccountTransactionRecord record);

    AccountTransactionRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AccountTransactionRecord record);

    int updateByPrimaryKey(AccountTransactionRecord record);

    List<AccountTransactionRecord> transactionRecordList(Map map);

    List<UserAccount> selectAllRecord(Map map);

    int countAllRecord(Map map);

    BigDecimal selectEarnings(Map map);
}